package com.capgemini.task.mapper;

import java.util.List;

import com.capgemini.task.domain.ScheduleJob;
import com.capgemini.task.domain.ScheduleJobRunLog;

public interface ScheduleJobMapper {
	int deleteByPrimaryKey(Long jobId);

	int insert(ScheduleJob record);

	int insertSelective(ScheduleJob record);

	ScheduleJob selectByPrimaryKey(Long jobId);

	int updateByPrimaryKeySelective(ScheduleJob record);

	int updateByPrimaryKey(ScheduleJob record);

	List<ScheduleJob> getAll();


	int insertScheduleJobRunLog(ScheduleJobRunLog pojo);

	List<ScheduleJobRunLog> getRunLogByJobId(Long jobId);

	ScheduleJobRunLog getLastRunLogByJobId(Long jobId);
}